package com.ruoyi.system.domain.construction;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 施工队 标签表
 * @author 赵德健
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ConstructionLabel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 标签ID */
    private Long labelId;

    /** 施工队ID */
    @Excel(name = "施工队ID")
    private Long constructionId;
    private Long constructionIdNum;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String labelName;

    /** 商品图片表ID */
    @Excel(name = "商品图片表ID")
    private Integer constructionPicId;
    private Integer constructionPicIdNum;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal labelPrice;

    /** 0 上架  1 下架 */
    @Excel(name = "0 上架  1 下架")
    private String labelStatus;

    /** 0未删除  1 删除 */
    private String delFlag;


    private ConstructionPicInfo constructionPicInfo;

}
